home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 3 / BBS in a box - Trilogy III.iso / Files / Util / D-De / DeskCheck / DeskCheck Note next >
Encoding:
Text File  |  1987-03-14  |  2.4 KB  |  44 lines  |  [TEXT/EDIT]

  1.  
  2. Attached is DeskCheck, a tiny application which checks to see that
  3. everybody's bundle (BNDL) is correctly constructed.  Errors in bundle
  4. construction can propagate to the desktop file, causing no end of
  5. trouble for the Finder, including system hangs and bombs, and an
  6. unusually bloated Desktop.  Finder 5.3 is relatively good about protecting
  7. itself, but earlier Finders were sitting ducks.  Note that DeskCheck
  8. only looks for problems.  Beyond telling you, it doesn't *do* anything
  9. about them.  That's a job for ResEdit.
  10.  
  11. As a Mac application, DeskCheck is a sorry example.  It's utterly modal
  12. and provides only minimal user control over the files to be checked.
  13. Its purpose, however, was to quickly find problems in a large collection
  14. of PD and shareware stuff.  Since the source code is included, someone
  15. with lots of spare time can improve the user interface.
  16.  
  17. DeskCheck has been tested on the Mac Plus, Mac 512 (not 512E), and Mac XL.
  18. Target volumes have been floppies, ramdisks, an internal winchester, and
  19. a variety of external SCSI disks.  Examining 2000+ files (about 60megs) on
  20. a 140meg SCSI drive takes about five minutes.  The only "bomb" problem not
  21. fixed is that some defective resource files cause crashes in _OpenResFile.
  22. Short of doing my own sanity check of the resource fork before calling
  23. _OpenResFile, I don't see any way of fixing that one.  [The only such file
  24. I found was the StdEnv file from ExperLogo.  Other bogus resource files
  25. simply return errors from _OpenResFile.]
  26.  
  27. In the category of minor annoyances, DeskCheck will make two pointless
  28. complaints about the Desktop file: that the bundle bit is off even
  29. though the file has bundles; and that the bundles don't assign it an icon.
  30. Both messages are perfectly normal.  Anything else DeskCheck tells you
  31. about your Desktop file is *not* normal.
  32.  
  33. As I tested DeskCheck, I was surprised to find minor errors in such Apple
  34. programs as Font/DA Mover and MacWrite (some ICN# resources were the wrong
  35. size).  I was alarmed to find a major error in Disk First Aid (an ICN#
  36. resource is missing).  I was overwhelmed by the number and variety of
  37. errors I saw in commercial, PD, and shareware items.  One such error may
  38. clear up a historical mystery.  Back in Finder 4.1 days, Rascal Billiards
  39. had a reputation for killing Hyperdrives.  Now I see that it has a 
  40. defective bundle, which could have caused a bloated DeskTop file, which 
  41. might have sent the Hyperdrive's tenuous space/memory management out to 
  42. lunch.  Just a guess.
  43.  
  44.